package com.fj.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.fj.mapper.AppInfoMapper;
import com.fj.entity.AppInfo;
import com.fj.service.AppInfoService;
@Service
public class AppInfoServiceImpl implements AppInfoService{

    @Resource
    private AppInfoMapper appInfoMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return appInfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AppInfo record) {
        return appInfoMapper.insert(record);
    }

    @Override
    public int insertSelective(AppInfo record) {
        return appInfoMapper.insertSelective(record);
    }

    @Override
    public AppInfo selectByPrimaryKey(Long id) {
        return appInfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AppInfo record) {
        return appInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AppInfo record) {
        return appInfoMapper.updateByPrimaryKey(record);
    }

}
